/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.game.entity.adv;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 游戏广告Entity
 * @author 罗天文
 * @version 2018-10-31
 */
public class HkGameSystemAdv extends DataEntity<HkGameSystemAdv> {
	
	private static final long serialVersionUID = 1L;
	private String imgSrc;		// 图片路径
	private String number;		// 序号
	
	public HkGameSystemAdv() {
		super();
	}

	public HkGameSystemAdv(String id){
		super(id);
	}

	@Length(min=0, max=200, message="图片路径长度必须介于 0 和 200 之间")
	public String getImgSrc() {
		return imgSrc;
	}

	public void setImgSrc(String imgSrc) {
		this.imgSrc = imgSrc;
	}
	
	@Length(min=0, max=11, message="序号长度必须介于 0 和 11 之间")
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
}